package chapter08;

public class Day8 {
    public static void main(String[] args) {
        int num = 1;
        int sum = 0;
        while (num <= 10000) {
            if (num % 9 == 0) {
                System.out.print(num + " ");
                sum++;//每输出一个数字，进行加一
                if (sum ==20) {
                    System.out.println("");
                    sum = 0;
                }
            }
            num++;
        }

    }
    }

